package test.config;

import com.spring.annotation.Component;
import com.spring.beanpostprocessor.EventPostProcessor;
import com.spring.event.ApplicationEvent;
import com.spring.event.EventListener;

/**
 * @author ljj
 */
@Component
public class ListenerB implements EventListener<EventPostProcessor.MyApplicationEvent> {
	@Override
	public void onMessage(EventPostProcessor.MyApplicationEvent event) {
		System.out.println("ListenerB 收到 MyApplicationEvent");
	}
}
